package ru.hei.pointsserver.entities

import org.springframework.data.annotation.Id
import org.springframework.data.annotation.Version
import org.springframework.data.relational.core.mapping.Table

@Table(name = "houses")
data class House(
  @Id val id: Long? = null,
  val name: String,
  var points: Int,
  @Version val version: Long? = null
)
